<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Backoffice Manager</title>
<link href="/backend/assets/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/backend/scripts/jquery.min.js"></script>
<script type="text/javascript" src="/backend/scripts/jquery-ui.custom.min.js"></script>
<script type="text/javascript" src="/backend/scripts/jquery.validate.min.js"></script>
<script type="text/javascript" src="/backend/scripts/common.js"></script>
<script type="text/javascript">
$(function(){
	$('.addcontant').bind('click',function(){
		$('#add').slideToggle();
		return false;
	});
});
</script>
<style type="text/css">
form.validate fieldset {
	border:#CCC solid 1px;
	margin:5px;
 
}
</style>
</head>
<body>
<div class="header">
  <h1>$header_title</h1>
</div>
<div class="c-repeat">
  <div class="c-b">
    <div class="container"> 
      <!--$header_html-->
      <div class="tools"><a class="nav" href="../../"><img src="/backend/assets/images/icon/application_side_contract.png" /> back</a> <a class="addcontant" href="add/"><img src="/backend/assets/images/icon/add.png" />Add Rule</a> </div>
      <div class="main">
        <form id="add" action="add/" method="post" enctype="multipart/form-data" class="validate">
          <fieldset>
            <ul class="list">
              <li>
                <label for="rule_id">Promotions Discount :</label>
                <select name="rule_id">
                  <!--$ruleOptions-->
                </select>
              </li>
            </ul>
            <p class="btn">
              <input name="status" type="submit" class="button" id="status" value="Add" />
            </p>
          </fieldset>
        </form>
        <form action="" method="post">
          <table class="content">
            <thead>
              <tr>
                <td  width="30"><input name="check" type="checkbox" value="" class="checkall" /></td>
                <td>Title</td>
                <td  width="100">Percent</td>
                <td  width="100">Date</td>
                <td  width="100">Tools</td>
              </tr>
            </thead>
            <tbody>
              <!--SiXhEaD:result-->
              <tr>
                <td  width="30"><input type="checkbox" name="discount_id[]" value="$discount_id" /></td>
                <td>$title</td>
                <td>$percent %</td>
                <td>$date</td>
                <td  width="100">  <a href="delete/$discount_id" class="delete tooltip">Delete<em>Delete</em></a></td>
              </tr>
              <!--/SiXhEaD:result-->
            </tbody>
          </table>
          <div class="action-select">
            <p>with selected:
              <input name="delete" type="submit" class="delete" value="delete" />
            </p>
          </div>
          <div class="page"> $strPage </div>
        </form>
      </div>
      <br class="clear" />
    </div>
  </div>
</div>
<!--$footer_html-->
</body>
</html>
